package dao;

import java.util.List;
import javax.persistence.Query;
import entity.Students;


public class StudentsDao extends BaseDao<Students> {
	
	public static StudentsDao INSTANCE = new StudentsDao();
	
	private StudentsDao() {}

	@SuppressWarnings("unchecked")
	public List<Students> findAll() {
		Query query = em.createNamedQuery("Students.findAll");
		return query.getResultList();
	}

}
